Skip to content

test(cockpit-e2e-wiring): scope:* tag drift-guard (PR 3/3)#509

Merged
blove merged 1 commit into
mainfrom
claude/ci-scope-drift-guard
May 21, 2026
Merged

test(cockpit-e2e-wiring): scope:* tag drift-guard (PR 3/3)#509
blove merged 1 commit into
mainfrom
claude/ci-scope-drift-guard

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 21, 2026

Summary

PR 3 of 3 for the ci-scope thin-shim migration. Adds a third `it()` block to `apps/cockpit/cockpit-e2e-wiring.spec.ts` asserting that every cockpit cap project declares the `scope:*` tags the shim relies on.

What it guards against

  • Every `cockpit///{angular,python}/project.json` must include `scope:cockpit-e2e` + `scope:cockpit-examples`.
  • Python caps with a `smoke` target must also include `scope:cockpit-smoke`.
  • `cockpit/ag-ui/*` excluded (no python sibling; different rules).

Without this, a future contributor adding a new cap could silently forget the tags — their CI would underfire and we'd only catch it when something breaks downstream.

Closes the migration arc

Test plan

  • CI `Cockpit — build / test` passes (the wiring spec runs there).
  • Spec catches it locally if you delete a `scope:cockpit-e2e` tag from any cap.

🤖 Generated with Claude Code

PR 3 of 3 for the ci-scope thin-shim migration. PR 1 (#503) added
scope:* tags to every CI-participating project; PR 2 (#507) rewrote
ci-scope.mjs to read them via `nx show projects --affected --json`.
This drift-guard asserts every cockpit cap project (angular + python
under cockpit/<product>/<topic>/) declares the expected tags:

- scope:cockpit-e2e + scope:cockpit-examples on every cap project.
- scope:cockpit-smoke on python caps that have a smoke target.

Closes the silent-failure mode: future contributors adding a new cap
can't forget the tags — the test names which project + which tag is
missing.

Excludes cockpit/ag-ui/* (no python sibling; different tag rules).

See spec: docs/superpowers/specs/2026-05-21-ci-scope-thin-shim-design.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment May 21, 2026 5:36pm

Request Review

@blove blove merged commit b8c0607 into main May 21, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant